﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using QuanLyDeTaiKHCN.Obj_class;
using System.IO;
using System.Net;
namespace QuanLyDeTaiKHCN.UserControls.Manager
{
    public partial class Xemonlinehoso : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //view file pdf tren trang web
            //Response.Clear();
            //string filePath = PageURL.local + "filehoso/130320_Sotay.pdf"; 
            //Response.ContentType = "application/pdf";
            //Response.WriteFile(filePath);

        }

       
        protected void btnsave_Click(object sender, EventArgs e)
        {

            string url = Request.QueryString["linkonline"].ToString();
            if (url != null)
            {
                Response.Redirect(url);
            }
        }
        
    }
}